const layout = (layout) => require(['./views/layout/layout.vue'], layout)
const index = (index) => require(['./views/index/index.vue'], index)
const login = (login) => require(['./views/login/index.vue'], login)
const agent = (agent) => require(['./views/agent/agent.vue'], agent)
const site = (site) => require(['./views/site/index.vue'], site)
const setting = (setting) => require(['./views/me/index.vue'], setting)
const change_pwd = (change_pwd) => require(['./views/me/change_pwd.vue'], change_pwd)
const order = (order) => require(['./views/order/index.vue'], order)

//供应商管理
const com_manage = (com_manage) => require(['./views/parter/com_manage.vue'], com_manage)
const com_edit = (com_edit) => require(['./views/parter/edit.vue'], com_edit)
const com_edit2 = (com_edit2) => require(['./views/parter/edit2.vue'], com_edit2)
const com_proClass = (com_proClass) => require(['./views/parter/com_proClass.vue'], com_proClass)
const com_proedit = (com_proedit) => require(['./views/parter/com_proedit.vue'], com_proedit)

//产品管理
const pro = (pro) => require(['./views/pro/index.vue'], pro)
const cate_manage = (cate_manage) => require(['./views/pro/cate_manage.vue'], cate_manage)
const pro_detail = (pro_detail) => require(['./views/pro/detail.vue'], pro_detail)
const pro_create = (pro_create) => require(['./views/pro/create.vue'], pro_create)
const pro_update = (pro_update) => require(['./views/pro/update.vue'], pro_update)
const pro_faq = (pro_faq) => require(['./views/pro/faq.vue'], pro_faq)
const pro_show = (pro_show) => require(['./views/pro/show.vue'], pro_show)



//保险条款与保险责任
const pro_addclause = (pro_addclause) => require(['./views/pro/add_clause.vue'], pro_addclause)
const pro_clause = (pro_clause) => require(['./views/pro/add_clause.vue'], pro_clause)
const clause_list = (clause_list) => require(['./views/pro/clause_list.vue'], clause_list)
const pro_addduty = (pro_addduty) => require(['./views/pro/add_duty.vue'], pro_addduty)
const pro_duty = (pro_duty) => require(['./views/pro/add_duty1.vue'], pro_duty)
const duty_list = (duty_list) => require(['./views/pro/duty_list.vue'], duty_list)

//产品费用政策
const fee_manage = (fee_manage) => require(['./views/pro/fee_manage.vue'], fee_manage)
const fee_create = (fee_create) => require(['./views/pro/fee_create.vue'], fee_create)
const fee_update = (fee_update) => require(['./views/pro/fee_update.vue'], fee_update)
//产品代理协议

const agency_list = (agency_list) => require(['./views/pro/agency_list.vue'], agency_list)
const agency_create = (agency_create) => require(['./views/pro/agency_create.vue'], agency_create)
const agency_update = (agency_update) => require(['./views/pro/agency_update.vue'], agency_update)

// 团队管理
const group = (group) => require(['./views/team/index.vue'], group)
const relationship = (relationship) => require(['./views/team/relationship.vue'], relationship)
const group_detail = (group_detail) => require(['./views/team/group_detail.vue'], group_detail)
const team_payroll = (team_payroll) => require(['./views/team/payroll.vue'], team_payroll)

//个人业绩
const performance = (performance) => require(['./views/achie/performance.vue'], performance)
const personal_salary = (personal_salary) => require(['./views/achie/salary.vue'], personal_salary)

//提现记录
const withdraw_list = (withdraw_list) => require(['./views/withdraw/index.vue'], withdraw_list)


// 员工管理
// const employee_list = (employee_list) => require(['./views/employee/index.vue'], employee_list)
//const employee_edit = (employee_edit) => require(['./views/employee/edit.vue'], employee_edit)
const employee_list = (employee_list) => require(['./views/employee/list.vue'], employee_list)
const employee_all_list = (employee_all_list) => require(['./views/employee/lelist.vue'], employee_all_list)
const employee_create = (employee_create) => require(['./views/employee/create.vue'], employee_create)
const employee_update = (employee_update) => require(['./views/employee/update.vue'], employee_update)
const employee_single = (employee_single) => require(['./views/employee/employee_single.vue'], employee_single)


//角色管理
const role_list = (role_list) => require(['./views/role/index.vue'], role_list)

//职级管理
const rank_list = (rank_list) => require(['./views/rank/index.vue'], rank_list)

//部门管理
const dept_list = (dept_list) => require(['./views/dept/index.vue'], dept_list)

// 客户管理
const customer_list = (customer_list) => require(['./views/customer/index.vue'], customer_list)
const customer_test = (customer_test) => require(['./views/customer/test.vue'], customer_test)
const customer_create = (customer_create) => require(['./views/customer/create.vue'], customer_create)
const customer_update = (customer_update) => require(['./views/customer/update.vue'], customer_update)
// 保单管理
//const policy_list = (policy_list) => require(['./views/policy/index.vue'], policy_list)
const policy_edit = (policy_edit) => require(['./views/policy/edit.vue'], policy_edit)

//保单录入（管理账号）
const policyb_list = (policyb_list) => require(['./views/policyb/index.vue'], policyb_list)
const policyb_create = (policyb_create) => require(['./views/policyb/create.vue'], policyb_create)
const policyb_edit = (policyb_edit) => require(['./views/policyb/edit.vue'], policyb_edit)
const policyb_relist = (policyb_relist) => require(['./views/policyb/list.vue'], policyb_relist)
const policyb_detail = (policyb_detail) => require(['./views/policyb/detail.vue'], policyb_detail)

//2.0
//投保单列表
const policy_list = (policy_list) => require(['./views/policy/index.vue'], policy_list)
//投保单录入
const insure_policy_create = (insure_policy_create) => require(['./views/policy/create.vue'], insure_policy_create)
//投保单详情
const insure_policy_detail = (insure_policy_detail) => require(['./views/policy/detail.vue'], insure_policy_detail)
//投保单编辑
const insure_policy_update = (insure_policy_update) => require(['./views/policy/update.vue'], insure_policy_update)
//承保单列表
const underwrite_policy = (underwrite_policy) => require(['./views/policy/uw_index.vue'], underwrite_policy)
//承保单录入
const underwrite_policy_create = (underwrite_policy_create) => require(['./views/policy/uw_create.vue'], underwrite_policy_create)
//承保单编辑
const underwrite_policy_update = (underwrite_policy_update) => require(['./views/policy/uw_update.vue'], underwrite_policy_update)
//续期管理
const renewal_list = (renewal_list) => require(['./views/policy/re_list.vue'], renewal_list)


//计划书管理
const plan_list = (plan_list) => require(['./views/plan/index.vue'], plan_list)
const plan_edit = (plan_edit) => require(['./views/plan/edit.vue'], plan_edit)
//车险信息查询
const car_add = (car_add) => require(['./views/car/add.vue'], car_add)
const car_list = (car_list) => require(['./views/car/list.vue'], car_list)
const replenish_info = (replenish_info) => require(['./views/car/replenish_info.vue'], replenish_info)
const car_quote = (car_quote) => require(['./views/car/quote.vue'], car_quote)
const quote_result = (quote_result) => require(['./views/car/quote_result.vue'], quote_result)



const terrace = (terrace) => require(['./views/car/terrace.vue'], terrace)
const bill_search = (bill_search) => require(['./views/car/bill_search.vue'], bill_search)
const bill_per = (bill_per) => require(['./views/car/bill_per.vue'], bill_per)
const bill_update = (bill_update) => require(['./views/car/bill_update.vue'], bill_update)
const bill_create = (bill_create) => require(['./views/car/bill_create.vue'], bill_create)
const bill_detail = (bill_detail) => require(['./views/car/bill_detail.vue'], bill_detail)
const bill_ceshi = (bill_ceshi) => require(['./views/car/bill_ceshi.vue'], bill_ceshi)
const bill_single = (bill_single) => require(['./views/car/bill_single.vue'], bill_single)

//财务管理
const finance_payroll = (finance_payroll) => require(['./views/finance/payroll.vue'], finance_payroll)
const finance_detail = (finance_detail) => require(['./views/finance/detail.vue'], finance_detail)

const payroll_detail = (payroll_detail) => require(['./views/finance/payroll_detail.vue'], payroll_detail)
const poundage = (poundage) => require(['./views/finance/poundage.vue'], poundage)

//结算管理
const salary_list = (salary_list) => require(['./views/settlement/salary_list.vue'], salary_list)
const commission_list = (commission_list) => require(['./views/settlement/commission_list.vue'], commission_list)
const settlement_info = (settlement_info) => require(['./views/settlement/settlement_info.vue'], settlement_info)
const settlement_update = (settlement_update) => require(['./views/settlement/update.vue'], settlement_update)
const settlement_bonus = (settlement_bonus) => require(['./views/settlement/bonus.vue'], settlement_bonus)

//代理协议
const agreement_manage = (agreement_manage) => require(['./views/agreement/manage.vue'], agreement_manage)
const agreement_create = (agreement_create) => require(['./views/agreement/create.vue'], agreement_create)
const agreement_update = (agreement_update) => require(['./views/agreement/update.vue'], agreement_update)


//机构
const org_list = (org_list) => require(['./views/org/index.vue'], org_list)
const org_detail = (org_detail) => require(['./views/org/detail.vue'], org_detail)
const org_role = (org_role) => require(['./views/org/role.vue'], org_role)
const org_member = (org_member) => require(['./views/org/member.vue'], org_member)
const org_doclist = (org_doclist) => require(['./views/org/doclist.vue'], org_doclist)
const org_newdoclist = (org_newdoclist) => require(['./views/org/newdoclist.vue'], org_newdoclist)
const org_doclistdetail = (org_doclistdetail) => require(['./views/org/doclistdetail.vue'], org_doclistdetail)
const org_setup = (org_setup) => require(['./views/org/setup.vue'], org_setup)

//绩效管理
const achievement_index = (achievement_index) => require(['./views/achievement/index.vue'], achievement_index)
const achievement_create = (achievement_create) => require(['./views/achievement/create.vue'], achievement_create)
const achievement_update = (achievement_update) => require(['./views/achievement/update.vue'], achievement_update)


//基本法   basicLaw
const basicLaw_check = (basicLaw_check) => require(['./views/basiclaw/check.vue'], basicLaw_check)
const basicLaw_promote = (basicLaw_promote) => require(['./views/basiclaw/promote.vue'], basicLaw_promote)
const basicLaw_list = (basicLaw_list) => require(['./views/basiclaw/list.vue'], basicLaw_list)

//开发中
const developing = (developing) => require(['./views/common/index.vue'], developing)

//同步数据
const update_data = (update_data) => require(['./views/common/data.vue'], update_data)

//资料管理
//datum
//const datum_list = (datum_list) => require(['./views/common/index.vue'], datum_list)



//栏目管理
// classroom
const classroom = (classroom) => require(['./views/classroom/index.vue'], classroom)
const class_list_create = (class_list_create) => require(['./views/classroom/create.vue'], class_list_create)
const class_list_update = (class_list_update) => require(['./views/classroom/create.vue'], class_list_update)

const class_create = (class_create) => require(['./views/classroom/class_create.vue'], class_create)
const class_update = (class_update) => require(['./views/classroom/class_create.vue'], class_update)
const class_list = (class_list) => require(['./views/classroom/class.vue'], class_list)



//轮播图
const carousel_list = (carousel_list) => require(['./views/carousel/carousel_list.vue'], carousel_list)
const carousel_create = (carousel_create) => require(['./views/carousel/carousel_create.vue'], carousel_create)
const carousel_update = (carousel_update) => require(['./views/carousel/carousel_create.vue'], carousel_update)

//认证码管理
const invitation_list = (invitation_list) => require(['./views/invitation/index.vue'], invitation_list)


//实名认证
const certification_list = (certification_list) => require(['./views/certification/list.vue'], certification_list)
const certification_detail = (certification_detail) => require(['./views/certification/detail.vue'], certification_detail)
const certification_hdetail = (certification_hdetail) => require(['./views/certification/h_detail.vue'], certification_hdetail)
const certification_history = (certification_history) => require(['./views/certification/history.vue'], certification_history)




//理赔
const compensate = (compensate) => require(['./views/compensation/index.vue'], compensate)
const compensate_create = (compensate_create) => require(['./views/compensation/compen_create.vue'], compensate_create)
const compensate_update = (compensate_update) => require(['./views/compensation/compen_update.vue'], compensate_update)

const compensate_class_create = (compensate_class_create) => require(['./views/compensation/compen_create_class.vue'], compensate_class_create)
const compensate_class_update = (compensate_class_update) => require(['./views/compensation/compen_update_class.vue'], compensate_class_update)
const compensate_class = (compensate_class) => require(['./views/compensation/compen_class.vue'], compensate_class)

//链接理赔
const link_compen = (link_compen) => require(['./views/compensation/link_compen.vue'], link_compen)
const link_create = (link_create) => require(['./views/compensation/link_create.vue'], link_create)
const link_update = (link_update) => require(['./views/compensation/link_update.vue'], link_update)


const link_team = (link_team) => require(['./views/compensation/link_team.vue'], link_team)


// app首页

const app_home = (app_home) => require(['./views/appHome/index.vue'], app_home)
const app_add = (app_add) => require(['./views/appHome/add.vue'], app_add)
const app_update = (app_update) => require(['./views/appHome/app_update.vue'], app_update)




const routers = [
    {
        path: '/',
        component: layout,
        redirect: { name: 'home'},
        children: [
            {
                path: 'index',
                name: 'home',
                component: index,
                meta: {
                    title: '首页',
                    keepAlive: false
                },
            },
        ]
    },
    {
        path: '/login',
        name: 'login',
        component: login,
        meta: {
            title: '首页',
            keepAlive: false
        },
        children: [
            {
                path: ':id',
                name: 'loginchildren',
                component: login,
                meta: {
                    title: '首页',
                    keepAlive: false
                },
            },
        ]
    },
    {
        path: '/update',
        component: layout,
        children: [
            {
                path: 'data',
                name: 'update_data',
                component: update_data,
                meta: {
                    title: '数据更新',
                    des: '数据更新',
                    keepAlive: false,
                }
            },
        ]
    },
    {
        path: '/basiclaw',
        component: layout,
        children: [
            {
                path: 'index',
                name: 'basicLaw_check',
                component: basicLaw_check,
                meta: {
                    title: '考核设置',
                    des: '考核设置',
                    keepAlive: false,
                }
            },
            {
                path: 'promote',
                name: 'basicLaw_promote',
                component: basicLaw_promote,
                meta: {
                    keepAlive: true,
                    title: '晋升管理',
                    des: '这是晋升管理页面'
                },
            },
            {
                path: 'list',
                name: 'basicLaw_list',
                component: basicLaw_list,
                meta: {
                    keepAlive: true,
                    title: '考核列表',
                    des: '这是考核列表页面'
                },
            },
        ]
    },
    {
        path: '/car',
        component: layout,
        children: [
            {
                path: 'add',
                name: 'add',
                component: car_add,
                meta: {
                    keepAlive: true,
                    title: '车险查询',
                    des: '这是车险查询页面'
                },
            },
            {
                path: 'list',
                name: 'list',
                component: car_list,
                meta: {
                    keepAlive: true,
                    title: '车险客户列表',
                    des: '这是车险客户列表页面'
                },
            },
            {
                path: 'replenish_info',
                name: 'replenish_info',
                component: replenish_info,
                meta: {
                    keepAlive: true,
                    title: '完善行驶证信息',
                    des: '这是完善行驶证信息页面'
                },
            },
            {
                path: 'quote/:id',
                name: 'quote',
                component: car_quote,
                meta: {
                    keepAlive: false,
                    title: '报价信息',
                    des: '完善报价信息'
                },
            },
            {
                path: 'quote_result/:id',
                name: 'quote_result',
                component: quote_result,
                meta: {
                    keepAlive: false,
                    title: '报价结果',
                    des: '报价结果'
                },
            },
            {
                path:'terrace',
                name:'terrace',
                component:terrace,
                meta:{
                    keepAlive: false,
                    title: '出单平台',
                    des: '出单平台'
                }
            },
            {
                path:'bill_update/:coustomer_mid/:agent_mid/:contractNo',
                // path:'bill_update',
                name:'bill_update',
                component:bill_update,
                meta:{
                    keepAlive: false,
                    title: '保单查看',
                    des: '保单查看'
                }
            },
            {
                path:'bill_detail',
                name:'bill_detail',
                component:bill_detail,
                meta:{
                    keepAlive: false,
                    title: '保单详情',
                    des: '保单详情'
                }
            },
            {
                path:'bill_ceshi',
                name:'bill_ceshi',
                component:bill_ceshi,
                meta:{
                    keepAlive: false,
                    title: '关系人信息',
                    des: '关系人信息修改测试'
                }
            },
            {
                path:'bill_single',
                name:'bill_single',
                component:bill_single,
                meta:{
                    keepAlive: false,
                    title: '车险出单平台',
                    des: '支持40多家平台一键登陆,点击图标即可进入各出单系统'
                }
            },
            {
                path:'bill_create',
                name:'bill_create',
                component:bill_create,
                meta:{
                    keepAlive: false,
                    title: '保单录入',
                    des: '保单录入'
                }
            },
            {
                path:'bill_search',
                name:'bill_search',
                component:bill_search,
                meta:{
                    keepAlive: false,
                    title: '保单查询',
                    des: '保单查询'
                }
            },
            {
                path:'bill_per',
                name:'bill_per',
                component:bill_per,
                meta:{
                    keepAlive: false,
                    title: '出单员/分支机构业绩报表',
                    des: '导出数据默认按出单数量倒序'
                }
            },
        ]
    },
    {
        path: '/pro',
        component: layout,
        children: [
            {
                path: 'index',
                name: 'pro',
                component: pro,
                meta: {
                    title: '产品列表',
                    des: '这是产品列表页面',
                    keepAlive: true,
                }
            },
            {
                path: 'cate_manage',
                name: 'cate_manage',
                meta: {
                    keepAlive: true,
                    title: '分类管理',
                    des: '这是分类管理页面'
                },
                component: cate_manage,
            },
            {
                // path: 'pro_show/:id',
                path: 'pro_show/:id',
                name: 'pro_show',
                meta: {
                    keepAlive: true,
                    title: '产品信息',
                    des: '这是产品信息展示页面'
                },
                component: pro_show,
            },
            {
                path: "detail/:id",
                component: pro_detail,
                name: 'detail',
                meta: {
                    keepAlive: true,
                    title: '产品编辑',
                    des: '这是产品编辑页面'
                },
            },
            {
                path: "update/:id",
                component: pro_update,
                name: 'pro_update',
                meta: {
                    keepAlive: false,
                    title: '产品编辑',
                    des: '这是产品编辑页面'
                },
            },
            {
                path: "create",
                component: pro_create,
                name: 'pro_create',
                meta: {
                    keepAlive: false,
                    title: '产品添加',
                    des: '这是产品添加页面'
                },
            },
            {
                path: "faq/:id/:name",
                component: pro_faq,
                name: 'pro_faq',
                meta: {
                    keepAlive: false,
                    title: '产品常见问题',
                    des: '这是产品常见问题列表页面'
                },
            },
            {
                path: "fee_create/:id/:name",
                component: fee_create,
                name: 'fee_create',
                meta: {
                    keepAlive: false,
                    title: '新增费用政策',
                    des: '这是新增费用政策页面'
                },
            },
            {
                path: "fee_update/:id",
                component: fee_update,
                name: 'fee_update',
                meta: {
                    keepAlive: false,
                    title: '修改费用政策',
                    des: '这是修改费用政策页面'
                },
            },
            {
                path: "fee/:id/:name",
                component: fee_manage,
                name: 'fee_manage',
                meta: {
                    keepAlive: false,
                    title: '费用政策列表',
                    des: '这是费用政策列表页面'
                },
            },

            {
                path: "create_clause",
                component: pro_addclause,
                name: 'pro_addclause',
                meta: {
                    keepAlive: false,
                    title: '条款编辑',
                    des: '这是条款编辑页面'
                },
            },
            {
                path: "clause_list",
                component: clause_list,
                name: 'clause_list',
                meta: {
                    keepAlive: true,
                    title: '条款列表',
                    des: '这是条款列表页面'
                },
            },
            {
                path: "update_clause/:id",
                component: pro_clause,
                name: 'pro_clause',
                meta: {
                    keepAlive: false,
                    title: '条款编辑',
                    des: '这是条款编辑页面'
                },
            },
            {
                path: "create_duty",
                component: pro_addduty,
                name: 'pro_addduty',
                meta: {
                    keepAlive: false,
                    title: '保险责任编辑',
                    des: '这是保险责任编辑页面'
                },
            },
            {
                path: "duty_list/:id/:name",
                component: duty_list,
                name: 'duty_list',
                meta: {
                    keepAlive: true,
                    title: '保险责任列表页面',
                    des: '这是保险责任列表页面'
                },
            },
            {
                path: "update_duty/:id",
                component: pro_duty,
                name: 'pro_duty',
                meta: {
                    keepAlive: false,
                    title: '保险责任编辑',
                    des: '这是保险责任编辑页面'
                },
            },
            {
                path: "agency_list/:id/:name",
                component: agency_list,
                name: 'agency_list',
                meta: {
                    keepAlive: false,
                    title: '代理协议列表',
                    des: '这是代理协议列表页面'
                },
            },
            {
                path: "agency_create/:id/:name",
                component: agency_create,
                name: 'agency_create',
                meta: {
                    keepAlive: false,
                    title: '代理协议新增',
                    des: '这是代理协议新增页面'
                },
            },
            {
                path: "agency_update/:id/:name/:agency_id",
                component: agency_update,
                name: 'agency_update',
                meta: {
                    keepAlive: false,
                    title: '代理协议修改',
                    des: '这是代理协议修改页面'
                },
            }

        ]
    },
    {
        path: '/agreement',
        component: layout,
        children: [
            {
                path: "index",
                component: agreement_manage,
                name: 'agreement_manage',
                meta: {
                    keepAlive: false,
                    title: '代理协议管理',
                    des: '这是代理协议管理页面'
                },
            },
            {
                path: "create",
                component: agreement_create,
                name: 'agreement_create',
                meta: {
                    keepAlive: false,
                    title: '新增代理协议',
                    des: '这是新增代理协议页面'
                },
            },
            {
                path: "update/:id",
                component: agreement_update,
                name: 'agreement_update',
                meta: {
                    keepAlive: false,
                    title: '修改代理协议',
                    des: '这是代理协议修改页面'
                },
            },
        ]
    },
    // {
    //     path: '/fee',
    //     component: layout,
    //     children: [
    //         {
    //             path: "fee_manage",
    //             component: fee_manage,
    //             name: 'fee_manage',
    //             meta: {
    //                 keepAlive: false,
    //                 title: '佣金管理',
    //                 des: '这是佣金管理页面'
    //             },
    //         },
    //         {
    //             path: "fee_create",
    //             component: fee_create,
    //             name: 'fee_create',
    //             meta: {
    //                 keepAlive: false,
    //                 title: '新增佣金',
    //                 des: '这是佣金添加页面'
    //             },
    //         },
    //         {
    //             path: "fee_update/:id",
    //             component: fee_update,
    //             name: 'fee_update',
    //             meta: {
    //                 keepAlive: false,
    //                 title: '修改佣金',
    //                 des: '这是佣金修改页面'
    //             },
    //         },
    //     ]
    // },
    {
        path: '/com_manage',
        component: layout,
        children: [
            {
                path: 'index',
                name: 'com_manage',
                component: com_manage,
                meta: {
                    keepAlive: false,
                    title: '供应商一览表',
                    des: 'Insurance Supplier List'
                },
            },
            {
                path: 'edit',
                name: 'com_edit',
                component: com_edit,
                meta: {
                    keepAlive: false,
                    title: '供应商管理',
                    des: '这是供应商管理页面'
                },
            },
            {
                path: 'edit2/:id',
                name: 'com_edit2',
                component: com_edit2,
                meta: {
                    keepAlive: false,
                    title: '供应商管理',
                    des: '这是供应商管理页面'
                },
            },
            {
                path: 'com_proClass',
                name: 'com_proClass',
                component: com_proClass,
                meta: {
                    keepAlive: true,
                    title: '供应商产品分类',
                    des: '这是供应商产品分类页面'
                }
            },
            {
                path: 'com_proedit/:id',
                name: 'com_proedit',
                component: com_proedit,
                meta: {
                    keepAlive: true,
                    title: '供应商产品分类编辑',
                    des: '这是供应商产品分类编辑页面'
                }
            }
        ]
    },
    {
        path: '/me',
        component: layout,
        children: [
            {
                path: 'index',
                name: 'setting',
                component: setting,
                meta: {
                    keepAlive: true,
                    title: '账户设置',
                    des: '这是账户设置页面'
                },
            },
            {
                path: 'change_pwd',
                name: 'change_pwd',
                component: change_pwd,
                meta: {
                    keepAlive: true,
                    title: '修改密码',
                    des: '这是修改密码页面'
                },
            },
        ]
    },
    {
        path: '/policy',
        component: layout,
        children: [
            {
                path: 'insure_policy',
                name: 'insure_policy',
                component: policy_list,
                meta: {
                    keepAlive: false,
                    title: '投保单列表',
                    des: '这是投保单列表页面'
                },
            },
            {
                path: 'create',
                name: 'insure_policy_create',
                component: insure_policy_create,
                meta: {
                    keepAlive: false,
                    title: '投保单录入',
                    des: '这是投保单录入页面'
                },
            },
            {
                path: 'detail/:id',
                name: 'insure_policy_detail',
                component: insure_policy_detail,
                meta: {
                    keepAlive: false,
                    title: '投保单详情',
                    des: '这是投保单详情页面'
                },
            },
            {
                path: 'update/:id',
                name: 'insure_policy_update',
                component: insure_policy_update,
                meta: {
                    keepAlive: false,
                    title: '投保单编辑',
                    des: '这是投保单编辑页面'
                },
            },
            {
                path: 'uw_create',
                name: 'underwrite_policy_create',
                component: underwrite_policy_create,
                meta: {
                    keepAlive: false,
                    title: '保单录入',
                    des: '这是保单录入页面'
                },
            },
            {
                path: 'uw_list',
                name: 'underwrite_policy',
                component: underwrite_policy,
                meta: {
                    keepAlive: false,
                    title: '保单列表',
                    des: '这是保单列表页面'
                },
            },
            {
                path: 'uw_update/:id',
                name: 'underwrite_policy_update',
                component: underwrite_policy_update,
                meta: {
                    keepAlive: false,
                    title: '保单编辑',
                    des: '这是保单编辑页面'
                },
            },
            {                
                path: 're_list',
                name: 'renewal_list',
                component: renewal_list,
                meta: {
                    keepAlive: false,
                    title: '续期管理',
                    des: '这是续期管理页面'
                }
            }             
        ]
    },
    {
        path: '/employee',
        component: layout,
        children: [
            {
                path: 'create',
                name: 'employee_create',
                component: employee_create,
                meta: {
                    keepAlive: false,
                    title: '新增员工',
                    des: '这是新增员工页面'
                },
            },
            {
                path: 'list',
                name: 'employee_list',
                component: employee_list,
                meta: {
                    keepAlive: false,
                    title: '在职员工',
                    des: '这是员工列表页面'
                },
            },
            {
                path: 'alllist',
                name: 'employee_all_list',
                component: employee_all_list,
                meta: {
                    keepAlive: false,
                    title: '员工列表',
                    des: '这是员工列表页面'
                },
            },
            {
                path: 'update/:id',
                name: 'employee_update',
                component: employee_update,
                meta: {
                    keepAlive: false,
                    title: '员工编辑',
                    des: '这是员工编辑页面'
                },
            },
            {
                path: 'employee_single',
                name: 'employee_single',
                component: employee_single,
                meta: {
                    keepAlive: false,
                    title: '员工编辑',
                    des: '欢迎来到员工编辑页面'
                },
            }
        ]
    },
    {
        path: '/role',
        component: layout,
        children: [
            {
                path: 'list',
                name: 'role_list',
                component: role_list,
                meta: {
                    keepAlive: false,
                    title: '角色管理',
                    des: '这是角色管理页面'
                },
            },
        ]
    },
    {
        path: '/rank',
        component: layout,
        children: [
            {
                path: 'list',
                name: 'rank_list',
                component: rank_list,
                meta: {
                    keepAlive: false,
                    title: '职级管理',
                    des: '这是职级管理页面'
                },
            },
        ]
    },
    {
        path: '/dept',
        component: layout,
        children: [
            {
                path: 'list',
                name: 'dept_list',
                component: dept_list,
                meta: {
                    keepAlive: false,
                    title: '部门管理',
                    des: '这是部门管理页面'
                },
            },
        ]
    },
    {
        path: '/customer',
        component: layout,
        children: [
            {
                path: 'index',
                name: 'customer_list',
                component: customer_list,
                meta: {
                    keepAlive: false,
                    title: '客户列表',
                    des: '这是我的客户列表页面'
                },
            },
            {
                path: 'customer_test',
                name: 'customer_test',
                component: customer_test,
                meta: {
                    keepAlive: false,
                    title: '客户列表',
                    des: '这是我的客户列表页面'
                },
            },
            {
                path: 'customer_create',
                name: 'customer_create',
                component: customer_create,
                meta: {
                    keepAlive: false,
                    title: '新增客户',
                    des: '这是新增客户页面'
                },
            },
            {
                path: 'customer_update/:id',
                name: 'customer_update',
                component: customer_update,
                meta: {
                    keepAlive: false,
                    title: '编辑客户资料',
                    des: '这是编辑客户页面'
                },
            },

        ]
    },
    {
        path: '/policyb',
        component: layout,
        children: [
            {
                path: 'index',
                name: 'policyb_list',
                component: policyb_list,
                meta: {
                    keepAlive: false,
                    title: '投保单列表',
                    des: '这是投保单列表页面'
                },
            },
            {
                path: 'create',
                name: 'policyb_create',
                component: policyb_create,
                meta: {
                    keepAlive: false,
                    title: '投保单录入',
                    des: '这是投保单录入页面'
                },
            },
            {
                path: 'edit/:id',
                name: 'policyb_edit',
                component: policyb_edit,
                meta: {
                    keepAlive: false,
                    title: '保单编辑',
                    des: '这是我的保单编辑页面'
                },
            },
            {
                path: 'list',
                name: 'policyb_relist',
                component: policyb_relist,
                meta: {
                    keepAlive: false,
                    title: '保单列表',
                    des: '这是保单列表页面'
                },
            },
            {
                path: 'detail/:id',
                name: 'policyb_detail',
                component: policyb_detail,
                meta: {
                    keepAlive: false,
                    title: '保单详情',
                    des: '这是保单详情页面'
                },
            },
        ]
    },
    {
        path: '/plan',
        component: layout,
        children: [
            {
                path: 'index',
                name: 'plan_list',
                component: plan_list,
                meta: {
                    keepAlive: false,
                    title: '计划书列表',
                    des: '这是我的计划书列表页面'
                },
            },
            {
                path: 'edit/:id',
                name: 'plan_edit',
                component: plan_edit,
                meta: {
                    keepAlive: false,
                    title: '计划书编辑',
                    des: '这是我的计划书编辑页面'
                },
            },
        ]
    },
    {
        path: '/finance',
        component: layout,
        children: [
            {
                path: 'payroll',
                name: 'finance_payroll',
                component: finance_payroll,
                meta: {
                    keepAlive: false,
                    title: '工资单',
                    des: '这是我的工资单页面'
                },
            },
            {
                path: 'finance_detail',
                name: 'finance_detail',
                component: finance_detail,
                meta: {
                    keepAlive: false,
                    title: '工资详情',
                    des: '这是我的工资详情'
                },
            },
            {
                path: 'payroll_detail/:id',
                name: 'payroll_detail',
                component: payroll_detail,
                meta: {
                    keepAlive: false,
                    title: '工资详情',
                    des: '这是工资详情'
                },
            },
            {
                path: 'poundage',
                name: 'poundage',
                component: poundage,
                meta: {
                    keepAlive: false,
                    title: '手续费',
                    des: '这是手续费详情'
                },
            },
            {
                path: 'poundage_fee',
                name: 'poundage_fee',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '手续费佣金',
                    des: '这是手续费佣金详情'
                },
            },
            {
                path: 'poundage_bonus',
                name: 'poundage_bonus',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '手续费奖金',
                    des: '这是手续费奖金详情'
                },
            },
            {
                path: 'poundage_bonusset',
                name: 'poundage_bonusset',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '奖金设置',
                    des: '这是手续费奖金设置'
                },
            },
            {
                path: 'poundage_report',
                name: 'poundage_report',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '手续费报表',
                    des: '这是手续费报表'
                },
            },
            {
                path: 'clearing_reissue',
                name: 'clearing_reissue',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '结算补发',
                    des: '这是结算补发页面'
                },
            },
            {
                path: 'clearing_deduct',
                name: 'clearing_deduct',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '结算扣除',
                    des: '这是结算扣除页面'
                },
            },
            {
                path: 'clearing_tax',
                name: 'clearing_tax',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '结算税务',
                    des: '这是结算税务页面'
                },
            },
            {
                path: 'bonus',
                name: 'bonus',
                component: developing,
                meta: {
                    keepAlive: false,
                    title: '奖金设置',
                    des: '这是奖金设置页面'
                },
            },
        ]
    },
    {
        path: '/withdraw',
        component: layout,
        children: [
            {
                path: 'list',
                name: 'withdraw_list',
                component: withdraw_list,
                meta: {
                    keepAlive: false,
                    title: '提现管理',
                    des: '这是提现管理页面'
                },
            },
        ]
    },
    {
        path: '/settlement',
        component: layout,
        children: [
            {
                path: 'salary_list',
                name: 'salary_list',
                component: salary_list,
                meta: {
                    keepAlive: false,
                    title: '结算工资',
                    des: '这是结算工资页面'
                },
            },
            {
                path: 'settlement_info',
                name: 'settlement_info',
                component: settlement_info,
                meta: {
                    keepAlive: false,
                    title: '结算信息',
                    des: '这是结算信息'
                },
            },
            {
                path: 'commission_list',
                name: 'commission_list',
                component: commission_list,
                meta: {
                    keepAlive: false,
                    title: '结算佣金',
                    des: '这是结算佣金页面'
                },
            },
            {
                path: 'bonus',
                name: 'settlement_bonus',
                component: settlement_bonus,
                meta: {
                    keepAlive: false,
                    title: '结算奖金',
                    des: '这是结算奖金页面'
                },
            },
            {
                path: 'update',
                name: 'settlement_update',
                component: settlement_update,
                meta: {
                    keepAlive: false,
                    title: '结算更新',
                    des: '这是结算更新页面'
                },
            },

        ]
    },
    {
        path: '/achievement',
        component: layout,
        children: [
            {
                path: 'index',
                name: 'achievement_index',
                component: achievement_index,
                meta: {
                    keepAlive: false,
                    title: '业绩管理',
                    des: '这是业绩管理页面'
                },
            },
            {
                path: 'create',
                name: 'achievement_create',
                component: achievement_create,
                meta: {
                    keepAlive: false,
                    title: '新增业绩',
                    des: '这是新增业绩页面'
                },
            },
            {
                path: 'update/:id',
                name: 'achievement_update',
                component: achievement_update,
                meta: {
                    keepAlive: false,
                    title: '编辑业绩',
                    des: '这是编辑业绩页面'
                },
            },
        ]
    },
    {
        path: '/org',
        component: layout,
        children: [
            {
                path: 'list',
                name: 'org_list',
                component: org_list,
                meta: {
                    keepAlive: false,
                    title: '机构管理',
                    des: '这是机构管理页面'
                },
            },
            {
                path: 'role',
                name: 'org_role',
                component: org_role,
                meta: {
                    keepAlive: false,
                    title: '机构角色管理',
                    des: '这是机构角色管理页面'
                },
            },
            {
                path: 'edit/:id',
                name: 'org_detail',
                component: org_detail,
                meta: {
                    keepAlive: false,
                    title: '机构详情',
                    des: '这是机构详情页面'
                },
            },
            {
                path: 'member',
                name: 'org_member',
                component: org_member,
                meta: {
                    keepAlive: false,
                    title: '机构成员',
                    des: '这是机构成员页面'
                },
            },
            {
                path: 'doclist',
                name: 'org_doclist',
                component: org_doclist,
                meta: {
                    keepAlive: false,
                    title: '机构管理',
                    des: '欢迎您使用机构管理页面'
                },
            },
            {
                path: 'newdoclist',
                name: 'org_newdoclist',
                component: org_newdoclist,
                meta: {
                    keepAlive: false,
                    title: '机构管理',
                    des: '欢迎您使用新增机构页面'
                }
            },
            {
                path: 'doclistdetail/:mongo_id',
                name: 'org_doclistdetail',
                component: org_doclistdetail,
                meta: {
                    keepAlive: false,
                    title: '机构详情',
                    des: '这是机构详情展示页面'
                },
            },
            {
                path: 'setup',
                name: 'org_setup',
                component: org_setup,
                meta: {
                    keepAlive: false,
                    title: '机构账号',
                    des: '欢迎来您使用机构账号列表页面'
                },
            },
        ]
    },
    {
        path: '/classroom',
        component: layout,
        children: [
            {
                path: 'index',
                name: 'classroom',
                component: classroom,
                meta: {
                    keepAlive: false,
                    title: '栏目列表管理',
                    des: '这是栏目列表管理页面'
                },
            },
            {
                path: 'class_list_create',
                component: class_list_create,
                name: 'class_list_create',
                meta: {
                    keepAlive: false,
                    title: '新增栏目列表',
                    des: '这是新增栏目列表页面'
                }
            },
            {
                path: 'class_list_update/:id',
                component: class_list_update,
                name: 'class_list_update',
                meta: {
                    keepAlive: false,
                    title: '修改栏目列表',
                    des: '这是修改栏目列表页面'
                }
            },
            {
                name: 'class_list',
                component: class_list,
                path: 'class_list',
                meta: {
                    title: '栏目分类',
                    des: '这是栏目分类列表',
                    keepAlice: true
                }
            },
            {
                name: 'class_create',
                component: class_create,
                path: 'class_create',
                meta: {
                    keepAlice: false,
                    title: '栏目分类新增',
                    des: '这是栏目分类列表新增',
                }
            },
            {
                name: 'class_update',
                component: class_update,
                path: 'class_update/:id',
                meta: {
                    title: '栏目分类更改',
                    des: '这是栏目分类列表更改',
                    keepAlice: false
                }
            }
        ]
    },
    {
        path: '/carousel',
        component: layout,
        children: [
            {
                path: 'index',
                name: 'carousel_list',
                component: carousel_list,
                meta: {
                    keepAlive: true,
                    title: '轮播管理',
                    des: '这是轮播管理页面'
                },
            },
            {
                path: 'carousel_create',
                name: 'carousel_create',
                component: carousel_create,
                meta: {
                    keepAlive: false,
                    title: '添加轮播图片',
                    des: '这是添加轮播图片页面'
                },
            },
            {
                path: 'carousel_update/:id',
                name: 'carousel_update',
                component: carousel_update,
                meta: {
                    keepAlive: false,
                    title: '添加轮播图片',
                    des: '这是添加轮播图片页面'
                },
            },
        ]
    },
    {
        path: '/invitation',
        component: layout,
        children: [
            {
                path: 'index',
                name: 'invitation_list',
                component: invitation_list,
                meta: {
                    keepAlive: false,
                    title: '认证码列表',
                    des: '这是认证码列表页面'
                },
            },
        ]
    },
    {
        path: '/compensate',
        component: layout,
        children: [
            {
                name: 'index',
                component: compensate,
                path: 'compensate',
                meta: {
                    title: '理赔管理',
                    des: '理赔管理',
                    keepAlive: false,
                }
            },
            {
                name: 'compensate_create',
                component: compensate_create,
                path: 'compensate_create',
                meta: {
                    title: '理赔增加',
                    des: '理赔增加',
                    keepAlive: false,
                }
            },
            {
                name: 'compensate_update',
                component: compensate_update,
                path: 'compensate_update/:id',
                meta: {
                    title: '理赔修改',
                    des: '理赔修改',
                    keepAlive: false,
                }
            },
            {
                name: 'compensate_class',
                component: compensate_class,
                path: 'compensate_class',
                meta: {
                    title: '理赔分类',
                    des: '理赔分类',
                    keepAlive: true,
                }
            },
            {
                name: 'compensate_class_create',
                component: compensate_class_create,
                path: 'compensate_class_create',
                meta: {
                    title: '理赔分类新增',
                    des: '理赔分类新增',
                    keepAlive: false,
                }
            },
            {
                name: 'compensate_class_update',
                component: compensate_class_update,
                path: 'compensate_class_update/:id',
                meta: {
                    title: '理赔分类新增',
                    des: '理赔分类新增',
                    keepAlive: false,
                }
            },
            {
                path:'link_compen',
                name:'link_compen',
                component:link_compen,
                meta:{
                    title: '连接理赔',
                    des: '连接理赔',
                    keepAlive: true,
                }
            },
            {
                path:'link_create',
                name:'link_create',
                component:link_create,
                meta:{
                    title: '连接理赔新增',
                    des: '连接理赔新增页面',
                    keepAlive: false,
                }
            },
            {
                path:'link_update/:id',
                name:'link_update',
                component:link_update,
                meta:{
                    title: '连接理赔修改',
                    des: '连接理赔修改页面',
                    keepAlive: false,
                }
            },
            {
                path:'link_team',
                name:'link_team',
                component:link_team,
                meta:{
                    title: '理赔工具',
                    des: '理赔工具页面',
                    keepAlive: false,
                }
            }
        ]
    },
    {
        path:"/app",
        component:layout,
        children:[
            {
                path:'index',
                name:'app_list',
                component:app_home,
                meta:{
                    title: 'App首页',
                    des: 'App首页管理',
                    keepAlive: true,
                }
            },
            {
                path:'app_add/:position',
                name:'app_add',
                component:app_add,
                meta:{
                    title: 'App添加',
                    des: 'App添加管理',
                    keepAlive: false,
                }
            },
            {
                path:'app_update/:position/:id',
                name:'app_update',
                component:app_update,
                meta:{
                    title: 'App修改',
                    des: 'App修改管理',
                    keepAlive: false,
                }
            },
        ]
    }
];
export default routers;